﻿// --------------------------------------------------------------------------------------------------------------------
// <copyright file="ComboboxItem.cs" company="Pierhouse ">
//   Copyright 2011 IMS
// </copyright>
// <summary>
//   ComboboxItem
// </summary>
// <author>Thiru </author>
// <history>12/10/2012 </history>
// --------------------------------------------------------------------------------------------------------------------

namespace SimpleCodeGen
{
    /// <summary>
    /// ComboboxItem
    /// </summary>
    public class ComboboxItem
    {
        /// <summary>
        /// Gets or sets the text.
        /// </summary>
        /// <value>
        /// The text.
        /// </value>
        public string Text { get; set; }

        /// <summary>
        /// Gets or sets the value.
        /// </summary>
        /// <value>
        /// The value.
        /// </value>
        public object Value { get; set; }

        /// <summary>
        /// Returns a <see cref="System.String"/> that represents this instance.
        /// </summary>
        /// <returns>
        /// A <see cref="System.String"/> that represents this instance.
        /// </returns>
        public override string ToString()
        {
            return Text;
        }
    }
}